//
//  BVUser.h
//  BuyVegetable
//
//  Created by yushanchang on 16/10/12.
//  Copyright © 2016年 com.yinding. All rights reserved.
//

#import "BVBase.h"

@interface BVUser : BVBase

/**
 *  用户ID
 */
//@property (nonatomic, copy) NSString *user_id;
/**
 *  用户姓名
 */
@property (nonatomic, copy) NSString *name;
/**
 *  用户电话
 */
@property (nonatomic, copy) NSString *mobile;
/**
 *  性别
 */
@property (nonatomic, assign) NSInteger gender;
/**
 *  地址
 */
@property (nonatomic, copy) NSString *address;
/**
 *  详细地址
 */
@property (nonatomic, copy) NSString *detail_address;
/**
 *  头像
 */
@property (nonatomic, copy) NSString *avatar_url;

/**
 *  当前城市
 */
@property (nonatomic, copy) NSString *city;
/**
 *  当前城市id（定位城市/当前城市）
 */
@property (nonatomic, copy) NSString *city_id;

// 家庭地址
@property (nonatomic, copy) NSString *addr_provinceId;
@property (nonatomic, copy) NSString *addr_cityId;


/**
 *  生日
 */
@property (nonatomic, copy) NSString *birthday;

/**
 *  是否登录
 */
@property (nonatomic, getter=isLogin) BOOL login;

+ (BVUser *)sharedUser;

/**
 *  退出登录
 */
- (void)logout;

- (void)setCity:(NSString *)city city_id:(NSString *)city_id;

@end
